package com.wanxi.dangdang.model.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.data.elasticsearch.annotations.Document;
import org.springframework.data.elasticsearch.annotations.Field;
import org.springframework.data.elasticsearch.annotations.FieldType;

import java.math.BigDecimal;
import java.util.Date;

/**
 * @Author: yanguangqiong
 * @Description:
 * @Date: Created in 2021/9/8
 * @Version: 1.0
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class ScenicFindByIdVO {
    @ApiModelProperty(value = "主键id",example = "唯一主键")
    private Long id;
    @ApiModelProperty(value = "景区编号")
    private String scenicNumber;
    @ApiModelProperty(value = "景区标题")
    @Field(analyzer = "ik_max_word",type = FieldType.Text)
    private String title;
    @ApiModelProperty(value = "主图")
    private String centerPicture;
    @ApiModelProperty(value = "详情(图片)")
    private String details;
    @ApiModelProperty(value = "区id")
    private String districtId;
    @ApiModelProperty(value = "地址")
    private String address;
    @ApiModelProperty(value = "电话")
    private String phone;
    @ApiModelProperty(value = "市场价")
    private BigDecimal marketPrice;
    @ApiModelProperty(value = "销售价")
    private BigDecimal salesPrice;
    @ApiModelProperty(value = "销量:只增不减支付后就加")
    private Integer sale;

}
